failWrite

Call when you have failed for some reason at writing to the stream returned by startWrite. This will close the current write stream, and delete the new file.